GtkGestureSingle: Update declared defaults of properties
authorMatthias Clasen <mclasen@redhat.com>
Fri, 15 Aug 2014 17:12:15 +0000 (13:12 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 15 Aug 2014 17:12:15 +0000 (13:12 -0400)
These should match the initial values, which were changed a
few commits ago. The defaultvalue test fails if there is a
mismatch, like here.

gtk/gtkgesturesingle.c

index 1ad2a4b80040f64672d69a0a1bf13df725672305..472ac56ceb497c34664bc1c43a7966b7dd6a0fe2 100644 (file)
@@ -251,7 +251,7 @@ gtk_gesture_single_class_init (GtkGestureSingleClass *klass)
                                                          P_("Handle only touch events"),
                                                          P_("Whether the gesture handles"
                                                             " only touch events"),
-                                                         TRUE,
+                                                         FALSE,
                                                          GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 
   /**
@@ -282,7 +282,7 @@ gtk_gesture_single_class_init (GtkGestureSingleClass *klass)
                                    g_param_spec_uint ("button",
                                                       P_("Button number"),
                                                       P_("Button number to listen to"),
-                                                      0, G_MAXUINT, 0,
+                                                      0, G_MAXUINT, GDK_BUTTON_PRIMARY,
                                                       GTK_PARAM_READWRITE|G_PARAM_EXPLICIT_NOTIFY));
 }